<template>
  <div>
    接收的参数
    {{ text }}
  </div>
</template>

<script>
export default {
    name:"BroTwo",
  data() {
    return {
      text: "",
    };
  },
  created() {
    this.$bus.$on("brother", (val) => {
      this.text = val;
    });
  },
};
</script>

<style>
</style>